package com.ruoyi.edu.service;

import com.ruoyi.edu.domain.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.edu.domain.vo.ChapterVo;

import java.util.List;

/**
 * 课程Service接口
 *
 * @author niruichen
 * @date 2020-12-22
 */
public interface IEduChapterService extends IService<EduChapter> {

    //课程大纲列表，根据课程id进行查询
    List<ChapterVo> getChapterVideoByCourseId(String courseId);

    void removeByCourseId(String id);

    boolean hasChildById(String id);
}
